import * as React from 'react';

class SubTool extends React.Component<any> {

  public toHome = () => {
    const history = 'history'
    this.props[history].push('/home')
  }

  public render() {
    return (
      <div>
        subtool
        <button onClick={this.toHome}>to shome</button>
      </div>
    );
  }
}

export default SubTool;
